package com.cicc.beergamevirtualsimulationsystem.common.errorEnum;


import lombok.Getter;

@Getter
public enum RegisterErrorEnum {
    NO_SEND_SSM(50004005,"未发送短信验证码"),
    PHONE_EXIST(50004001, "手机号已注册"),
    CAPTCHA_ERROR(50004002, "验证码有误"),
    USERNAME_ERROR(50004003,"用户名已存在"),
    CAPTCHA_EXPIRE(50004004,"验证码过期"),
    CAPTCHA_NOT_EXPIRE(50004005,"验证码仍在有效期内"),
    PHONE_ERROR(50004006, "手机号未注册"),
    SMS_SENT_RATE_LIMIT_ERROR(50004007,"短信发送频率过快"),
    PHONE_LIMIT_ERROR(50004008,"今日该手机号发送短信超过10次数"),
    SENT_SMS_FAIL_ERROR(50004009,"短信发送失败,请稍后再试")



    ;
    private final Integer code;
    private final String desc;

    RegisterErrorEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

}
